package com.jkhan.design;

import java.util.concurrent.TimeUnit;

/**
 * @ClassName CacheService
 * @Description CacheService
 * @Author hjk
 * @Date 2023/1/8 22:43
 **/
public interface CacheService {

    String get(final String key, int redisType);

    void set(String key, String value, int redisType);

    void set(String key, String value, long timeout, TimeUnit timeUnit, int redisType);

    void del(String key, int redisType);

}
